#ifndef CNC_BASE_COOPERATIVE_MODE_H
#define CNC_BASE_COOPERATIVE_MODE_H

#include "cooptask.h"
#include "taskstate.h"

namespace cnc {

	namespace base {

		class CooperativeMode : public CooperativeTask
		{
			TaskState state_;
		public:
			CooperativeMode() : state_(TASKSTATE_IDLE) {}
			virtual void setState(TaskState taskState)
			{
				state_ = taskState;
			}
			virtual TaskState getState()
			{
				return state_;
			}
		};

	} // namespace base

} // namespace cnc

#endif
